﻿using System;

namespace Hxsoft.AppV1
{
	public interface IUserIntegration
	{
		string Name { get; }
		bool ExistsUser(string userName);
		bool CheckUserPassword(string userName, string password);
		object CreateUser(string userName, string password);
		object CreateUser(string userName, string password, string email);
		bool ChangeUserPassword(string userName, string password);
		bool ChangeUserPassword(string userName, string password, string newpassword, string email);
		bool DeleteUser(string userName);
		bool Login(string userName, string password);
		bool LoginNotValidate(string userName);
		bool Logout(string userName);
	}
}